package com.yuyou.train.service.api.user.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.yuyou.train.service.api.user.entity.UserPoints;





@FeignClient(value = "train-user-service")
@RequestMapping(value = "/userPointsAPI")
public interface UserPointsAPI {
	
	@RequestMapping(value = "/updatePoints")
	int addPoints(@RequestParam("userPoints") UserPoints userPoints);
	
	
	
	
}
